<?php

namespace App\Http\Controllers\Mobile\Personal\Auth;

use Illuminate\Http\Request;

class AuthController extends AuthCommonController{

    /**
     * 登录
     * @param Request $request
     * @return \Illuminate\Http\Response
     */
    public function login(Request $request){
        setcookie('utype',null);
        return parent::login($request);
    }

    /**退出
     * @return \Illuminate\Http\Response
     */
    public function logout(){
        setcookie('puser','',time()-3600);
        return parent::logout();
    }

}
